package com.qqtech.qquan.delivery.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class DeliveryOrder extends BaseDomain{

	//columns START
    /** 创建人id */
	private java.lang.Integer creatorId;
    /** 订单号 */
	private java.lang.String orderNo;
    /** 状态:1-待入库;2-待签收;3-已签收 */
	private java.lang.Integer status;
    /** 状态时间 */
	private java.sql.Timestamp statusAt;
    /** 代收的物流公司 */
	private java.lang.String deliveryName;
    /** 代收的物流单号 */
	private java.lang.String deliveryNo;
    /** 代送地址id */
	private java.lang.Integer addressId;
	//columns END
	public DeliveryOrder(){
	}

	public DeliveryOrder( java.lang.Integer id ){
		this.id = id;
	}

	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setOrderNo(java.lang.String orderNo) {
		this.orderNo = orderNo;
	}

	public java.lang.String getOrderNo() {
		return this.orderNo;
	}
	
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	public java.lang.Integer getStatus() {
		return this.status;
	}
	
	public void setStatusAt(java.sql.Timestamp statusAt) {
		this.statusAt = statusAt;
	}

	public java.sql.Timestamp getStatusAt() {
		return this.statusAt;
	}
	
	public void setDeliveryName(java.lang.String deliveryName) {
		this.deliveryName = deliveryName;
	}

	public java.lang.String getDeliveryName() {
		return this.deliveryName;
	}
	
	public void setDeliveryNo(java.lang.String deliveryNo) {
		this.deliveryNo = deliveryNo;
	}

	public java.lang.String getDeliveryNo() {
		return this.deliveryNo;
	}
	
	public void setAddressId(java.lang.Integer addressId) {
		this.addressId = addressId;
	}

	public java.lang.Integer getAddressId() {
		return this.addressId;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

